Optimal. Leaf size=31 \[ \frac{2}{3} x^{3/2} \tanh ^{-1}\left (\sqrt{x}\right )+\frac{x}{3}+\frac{1}{3} \log (1-x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0129167, antiderivative size = 31, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {6097, 43} \[ \frac{2}{3} x^{3/2} \tanh ^{-1}\left (\sqrt{x}\right )+\frac{x}{3}+\frac{1}{3} \log (1-x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6097
Rule 43
Rubi steps
\begin{align*} \int \sqrt{x} \tanh ^{-1}\left (\sqrt{x}\right ) \, dx &=\frac{2}{3} x^{3/2} \tanh ^{-1}\left (\sqrt{x}\right )-\frac{1}{3} \int \frac{x}{1-x} \, dx\\ &=\frac{2}{3} x^{3/2} \tanh ^{-1}\left (\sqrt{x}\right )-\frac{1}{3} \int \left (-1+\frac{1}{1-x}\right ) \, dx\\ &=\frac{x}{3}+\frac{2}{3} x^{3/2} \tanh ^{-1}\left (\sqrt{x}\right )+\frac{1}{3} \log (1-x)\\ \end{align*}
Mathematica [A] time = 0.0111748, size = 25, normalized size = 0.81 \[ \frac{1}{3} \left (2 x^{3/2} \tanh ^{-1}\left (\sqrt{x}\right )+x+\log (1-x)\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.024, size = 30, normalized size = 1. \begin{align*}{\frac{2}{3}{x}^{{\frac{3}{2}}}{\it Artanh} \left ( \sqrt{x} \right ) }+{\frac{x}{3}}+{\frac{1}{3}\ln \left ( -1+\sqrt{x} \right ) }+{\frac{1}{3}\ln \left ( 1+\sqrt{x} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.97717, size = 26, normalized size = 0.84 \begin{align*} \frac{2}{3} \, x^{\frac{3}{2}} \operatorname{artanh}\left (\sqrt{x}\right ) + \frac{1}{3} \, x + \frac{1}{3} \, \log \left (x - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.70567, size = 97, normalized size = 3.13 \begin{align*} \frac{1}{3} \, x^{\frac{3}{2}} \log \left (-\frac{x + 2 \, \sqrt{x} + 1}{x - 1}\right ) + \frac{1}{3} \, x + \frac{1}{3} \, \log \left (x - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.71664, size = 39, normalized size = 1.26 \begin{align*} \frac{2 x^{\frac{3}{2}} \operatorname{atanh}{\left (\sqrt{x} \right )}}{3} + \frac{x}{3} + \frac{2 \log{\left (\sqrt{x} + 1 \right )}}{3} - \frac{2 \operatorname{atanh}{\left (\sqrt{x} \right )}}{3} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.16795, size = 42, normalized size = 1.35 \begin{align*} \frac{1}{3} \, x^{\frac{3}{2}} \log \left (-\frac{\sqrt{x} + 1}{\sqrt{x} - 1}\right ) + \frac{1}{3} \, x + \frac{1}{3} \, \log \left ({\left | x - 1 \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]